package com.apesource.mallproject.pojo;

import java.io.Serializable;

public class Advertising implements Serializable {
    private Integer id;
    private Integer categoryId;
    private String title;
    private String url;
    private String pic;
    private Integer status;
    private Integer sortOrder;

    public Advertising() {
    }

    public Advertising(Integer id, Integer categoryId, String title, String url, String pic, Integer status, Integer sortOrder) {
        this.id = id;
        this.categoryId = categoryId;
        this.title = title;
        this.url = url;
        this.pic = pic;
        this.status = status;
        this.sortOrder = sortOrder;
    }

    public Advertising(Integer categoryId, String title, String url, String pic, Integer status, Integer sortOrder) {

        this.categoryId = categoryId;
        this.title = title;
        this.url = url;
        this.pic = pic;
        this.status = status;
        this.sortOrder = sortOrder;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(Integer categoryId) {
        this.categoryId = categoryId;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getPic() {
        return pic;
    }

    public void setPic(String pic) {
        this.pic = pic;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getSortOrder() {
        return sortOrder;
    }

    public void setSortOrder(Integer sortOrder) {
        this.sortOrder = sortOrder;
    }

    @Override
    public String toString() {
        return "Advertising{" +
                "id=" + id +
                ", categoryId=" + categoryId +
                ", title='" + title + '\'' +
                ", url='" + url + '\'' +
                ", pic='" + pic + '\'' +
                ", status=" + status +
                ", sortOrder=" + sortOrder +
                '}';
    }
}
